#!/usr/bin/python
# -*- coding: utf-8 -*-


def person(name,age,**kw):
    print('name:', name,'age:', age,'other:', kw)


person('Michael',30)

person('Bob',35,city='beijing')

person('Adam',45,gender='m',job='engineer')

def f1(a,b,c=0,*args,**kw):
    print('a=',a,'b=',b,'c=',c,'args=',args,'kw=',kw)

f1(1,2)
f1(1,2,3)
f1(1,2,c=3)